package task;

public class Task4_10 {
    public static void main(String[] args) {
        System.out.println(max3(1, 5, 3));
    }
    public static int max2(int a,int b){

        return a>b ? a : b;
    }
    public static int max3(int a,int b,int c){

        return max2(max2(a,b),c);
    }
}
